home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / xbin / sgi4d-fixes < prev    next >
Text File  |  1991-03-25  |  353b  |  19 lines

  1. #!/bin/sh
  2.  
  3. FILE=V/h/cmpinclude.h
  4.  
  5. if  fgrep Z100 ${FILE} > /dev/null  ; then true; exit 0  ;
  6. else
  7.  
  8. cat ${FILE} | sed -e "1,/object symbol_name();/!d" > tmpx
  9. BIL=100
  10. while [ ${BIL} -le 700 ]; do
  11. BIL=`echo 1 + ${BIL} | bc`
  12. echo '#define' T${BIL} Z${BIL} >> tmpx
  13. done
  14.  
  15. cat ${FILE} | sed -e "1,/object symbol_name();/d" >> tmpx
  16. mv tmpx V/h/cmpinclude.h
  17. fi
  18.  
  19.